//
//  UIColor+color.m
//  HaHa
//
//  Created by 元虎的mac on 15/9/26.
//  Copyright (c) 2015年 吉亚平. All rights reserved.
//

#import "UIColor+color.h"

@implementation UIColor (color)
+(UIColor *)colorWithRGB:(int)color alpha:(float)alpha{
    return [UIColor colorWithRed:((Byte)(color >> 16))/255.0 green:((Byte)(color >> 8))/255.0 blue:((Byte)color)/255.0 alpha:alpha];
}

@end
